﻿using System.Xml.Serialization;


namespace NaverOpenApiLibrary.Models
{
    [XmlRoot("rss")]
    public class Kin
    {
        [XmlElement("channel")]
        public KinChannel Channel;
    }

    public class KinChannel
    {
        [XmlElement("title")]
        public string Title;

        [XmlElement("link")]
        public string Link;

        [XmlElement("description")]
        public string Description;

        [XmlElement("LastBuildDate")]
        public string lastBuildDate;

        [XmlElement("start")]
        public string Start;

        [XmlElement("display")]
        public string Display;

        [XmlElement("item")]
        public KinItem[] Items;
    }

    public class KinItem
    {
        [XmlElement("title")]
        public string Title { get; set; }

        [XmlElement("link")]
        public string Link { get; set; }

        [XmlElement("description")]
        public string Description { get; set; }
    }
}
